package server.config;

public class ServerConfig {

    private ServerConfig(){

    }

    static class Holder {
        public static final  ServerConfig instance = new ServerConfig();
    }

    public static ServerConfig getInstance() {
        return  Holder.instance;
    }


    private int connectPort;

    private String hostname;

    private String appBase;

    public int getConnectPort() {
        return connectPort;
    }

    public void setConnectPort(int connectPort) {
        this.connectPort = connectPort;
    }

    public String getAppBase() {
        return appBase;
    }

    public void setAppBase(String appBase) {
        this.appBase = appBase;
    }

    public String getHostname() {
        return hostname;
    }

    public void setHostname(String hostname) {
        this.hostname = hostname;
    }
}
